	<script>
		function reload(){
			$('#cc').combotree('reload');
		}
		function setValue(){
			$('#cc').combotree('setValue', 2);
		}
		function getValue(){
			var val = $('#cc').combotree('getValue');
			alert(val);
		}
		function disable(){
			$('#cc').combotree('disable');
		}
		function enable(){
			$('#cc').combotree('enable');
		}
	</script>
</head>
<body>
	<h2>树形下拉框 - ComboTree</h2>
	<div class="demo-info">
		<div class="demo-tip icon-tip"></div>
		<div>单击右箭头按钮来显示树形下拉框。(都是通过加载JSON数据）<br>
		</div>
	</div>
	
	<div style="margin:10px 0;">
		<a href="#" class="easyui-linkbutton" onClick="reload()">重新加载</a>
		<a href="#" class="easyui-linkbutton" onClick="setValue()">设置值（2）</a>
		<a href="#" class="easyui-linkbutton" onClick="getValue()">取得值</a>
		<a href="#" class="easyui-linkbutton" onClick="disable()">禁用</a>
		<a href="#" class="easyui-linkbutton" onClick="enable()">启用</a>
	</div>
	<p>单项选择<br>
	</p>
	<input id="cc" class="easyui-combotree" value="2" data-options="url:'documentation/tree_data.json',required:true" style="width:200px;">
	<p>多项选择<br>
	</p>
	<select class="easyui-combotree" name="language" data-options="url:'documentation/tree_data.json',cascadeCheck:false" multiple style="width:200px;"></select>
    <h3>页面代码： </h3>
<pre name="code" class="html">&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
	&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot;&gt;
	&lt;title&gt;ComboTree - jQuery EasyUI Demo&lt;/title&gt;
	&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;../themes/default/easyui.css&quot;&gt;
	&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;../themes/icon.css&quot;&gt;
	&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;demo.css&quot;&gt;
	&lt;script type=&quot;text/javascript&quot; src=&quot;../jquery-1.7.2.min.js&quot;&gt;&lt;/script&gt;
	&lt;script type=&quot;text/javascript&quot; src=&quot;../jquery.easyui.min.js&quot;&gt;&lt;/script&gt;
	&lt;script&gt;
		function reload(){
			$('#cc').combotree('reload');
		}
		function setValue(){
			$('#cc').combotree('setValue', 2);
		}
		function getValue(){
			var val = $('#cc').combotree('getValue');
			alert(val);
		}
		function disable(){
			$('#cc').combotree('disable');
		}
		function enable(){
			$('#cc').combotree('enable');
		}
	&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
	&lt;h2&gt;树形下拉框 - ComboTree&lt;/h2&gt;
	&lt;div class=&quot;demo-info&quot;&gt;
		&lt;div class=&quot;demo-tip icon-tip&quot;&gt;&lt;/div&gt;
		&lt;div&gt;单击右箭头按钮来显示树形下拉框。&lt;br&gt;
		&lt;/div&gt;
	&lt;/div&gt;
	
	&lt;div style=&quot;margin:10px 0;&quot;&gt;
		&lt;a href=&quot;#&quot; class=&quot;easyui-linkbutton&quot; onclick=&quot;reload()&quot;&gt;重新加载&lt;/a&gt;
		&lt;a href=&quot;#&quot; class=&quot;easyui-linkbutton&quot; onclick=&quot;setValue()&quot;&gt;设置值（2）&lt;/a&gt;
		&lt;a href=&quot;#&quot; class=&quot;easyui-linkbutton&quot; onclick=&quot;getValue()&quot;&gt;取得值&lt;/a&gt;
		&lt;a href=&quot;#&quot; class=&quot;easyui-linkbutton&quot; onclick=&quot;disable()&quot;&gt;禁用&lt;/a&gt;
		&lt;a href=&quot;#&quot; class=&quot;easyui-linkbutton&quot; onclick=&quot;enable()&quot;&gt;启用&lt;/a&gt;
	&lt;/div&gt;
	&lt;p&gt;单项选择&lt;br&gt;
	&lt;/p&gt;
	&lt;input id=&quot;cc&quot; class=&quot;easyui-combotree&quot; value=&quot;2&quot; data-options=&quot;url:'tree_data.json',required:true&quot; style=&quot;width:200px;&quot;&gt;
	&lt;p&gt;多项选择&lt;br&gt;
	&lt;/p&gt;
	&lt;select class=&quot;easyui-combotree&quot; name=&quot;language&quot; data-options=&quot;url:'tree_data.json',cascadeCheck:false&quot; multiple style=&quot;width:200px;&quot;&gt;&lt;/select&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<SCRIPT type=text/javascript>
	dp.SyntaxHighlighter.ClipboardSwf = 'documentation/js/clipboard.swf'/*tpa=http://jeasyui.com/SyntaxHighlighter/Scripts/clipboard.swf*/;
	dp.SyntaxHighlighter.HighlightAll('code');
</SCRIPT>